﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>栏目信信息管理</title>
		<link href="${ctx}/js/validate/jquery.validate.css" type="text/css"
			rel="stylesheet" />
		<script src="${ctx}/js/validate/jquery.validate.js"
			type="text/javascript"></script>
		<script src="${ctx}/js/validate/messages_cn.js" type="text/javascript"></script>
	</head>
	<body>
		<div class="rhead">
			<div class="rpos">
				当前位置: 栏目配置 - 栏目配置
			</div>
			<div class="ropt">
				<a href="epColumnAction!add_page.action">新增</a>
			</div>
			<div class="clear"></div>
		</div>
		<table class="listTable3" onmouseover="changeto()"
			onmouseout="changeback()">
			<tr class="headbg">
				<td>
					栏目排序
				</td>
				<td>
					栏目名称
				</td>
				<td>
					模块名
				</td>
				<td>
					模板类型
				</td>
				<td>
					是否在主导航显示
				</td>
				<td>
					状态
				</td>
				<td>
					基本操作
				</td>
			</tr>
			<c:forEach var="epColumn" items="${enterpriseColumnList}">
				<tr style="color: blue;">
					<td>
						${epColumn.orderColumn}
					</td>
					<td>
						${epColumn.names}
					</td>
					<td>
						${epColumn.frontNum}
					</td>
					<td>
						${epColumn.typeColumn}
					</td>
					<td>
						<c:if test="${epColumn.isValidInNav=='1'}">
							是
						</c:if>
						<c:if test="${epColumn.isValidInNav=='0'}">
							否
						</c:if>
					</td>
					<td>
						<c:if test="${epColumn.state == 1}">已启用</c:if>
						<c:if test="${epColumn.state == 0}">
							<font color="red">已停用</font>
						</c:if>
					</td>
					<td>
						<a href="epColumnAction!edit.action?id=${epColumn.id}"> 编辑 </a>&nbsp;
						&nbsp;
						<c:if test="${empty epColumnList}">
							<a href="epColumnAction!delete.action?id=${epColumn.id}"
								onClick="{if(confirm('你真的要删除吗,删除栏目会连栏目所属的新闻都删除?')){return true;}return false;}">
								删除 </a>
						</c:if>
					</td>
				</tr>
			</c:forEach>
		</table>
	</body>
</html>

